package com.gewu.pm.ui.activity.filter;

import android.content.Context;
import android.content.Intent;

import com.gewu.pm.ui.activity.filter.base.BaseFilterActivity;
import com.gewu.pm.ui.activity.filter.config.FilterConfig;
import com.gewu.pm.ui.activity.filter.config.SelectorType;

/**
 * 筛选-业务员
 */
public final class FilterSalespersonActivity extends BaseFilterActivity {
    
    public static void start(Context context) {
        Intent intent = new Intent(context, FilterSalespersonActivity.class);
        context.startActivity(intent);
    }
    
    @Override
    protected FilterConfig getFilterConfig() {
        return new FilterConfig.Builder()
                // 销售区域
                .addTextSelector("sales_area", "销售区域", "请选择销售区域", SelectorType.SALES_REGION,true)
                // 部门
                .addTextSelector("department", "部门", "请选择部门", SelectorType.DEPARTMENT,true)
                .build();
    }
}
